==========================================================================================
                                                                     
		               O-Ring Production Networks
			        By Demir-Fieler-Xu-Yang

				Replication (Part I)
==========================================================================================


Dataset list:
=============

We conduct the empirical analysis using multiple Turkish administrative datasets with micro-level data that can only be accessed on the premises of the Turkish Ministry of Industry and Technology (MoIT).

The confidential micro-level data used in the empirical analysis is the Entrepreneur Information System (EIS) database that can be accessed at the data center within the premises of the Republic of Turkey Ministry of Industry and Technology. We use the following confidential datasets from EIS: VAT transactions ("BABS formlari"), firm registry ("Girisim Sicil"), plant-level information ("İşyeri Sicil"), balance sheet and income statement ("Bilanço"), linked employer-employee data ("Çalışan Mikro"), and customs data ("Dış Ticaret"). We use the original datasets dated January 2018. We have also obtained a snapshot of firms with foreign ownership as of 2017. Researchers interested in access to the data could access it upon a special request and after a security clearance. For information, please contact gbs@sanayi.gov.tr

We provide the following datasets under the folder "data\": annual bilateral imports and exports at the product (4-digit HS codes) and country level (UNCOMTRADE) as well as GDP per capita and GDP (WDI), non-routine analytical and interpersonal skills compiled from ONET, and finally the crosswalk between MoIT country codes and standard three-letter country codes

Original data files should be added to the folder "data\"

Program files:
==============

All codes were run with Stata version 16


"DataPrep" loads original data, constructs variables, and merges the datasets to be used in the estimation. This code has to be run before others. Other codes can be run independently for individual figures or tables. 

"Figures" produces Figure 1, matrix used to plot Figure 2 and (part of) Figure 4, Figure A1, Figure A2, Figure A3, Figure A4, Figure A5 (and Table A6), and Figure A6; Note Figure 2 and 4 are produced by code in Part II.

"Sorting" produces Table1, Table 2, Table A1, Table A2, Table A3, Table A4, Table A5, Table A7, Table A8, and Table A9

"ShiftShare" produces Table 3, Table 4, Table A10, Table A11, Table A12, Table A13, Table A14, Table A15, Table A16, Table A17, Table A18, Table A19

"Moments" produces Table 5, (part of) Table 7, and underlying data for Figure A7



